package com.tensquare.qa.client;

import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: WangYaWei
 * @description:
 * @create: 2019-08-26 15:18
 **/
@FeignClient("tensquare-base")
public interface LabelClient {

    @GetMapping(value = "/label/{id}")
    public Result findById(@PathVariable("id") String id);
}
